/*
 * Project Name:hbm-be.
 * File Name:CsSmNoticeServiceImpl.java
 * Package Name:com.hginfo.cs.be.service.impl.cs
 * Date:2018年04月24日 下午3:58:49
 * Copyright (c) 2016, hongguaninfo.com All Rights Reserved.
 *
 */
package cn.uce.common.omg.biz.impl;

import cn.uce.base.vo.IcsEmpVo;
import cn.uce.common.omg.biz.IOmgEmpBiz;
import cn.uce.common.omg.service.OmgEmpService;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.Resource;
import java.util.List;
import java.util.Map;

/**
 * 公告表: cs_sm_notice. <br />
 * service impl 层 <br />
 * Date: 2018年04月24日 下午3:58:49 <br />
 *
 * @author you
 * @since V1.0.0
 */
@Service("omgEmpBiz")
@Transactional(readOnly = true, propagation= Propagation.SUPPORTS, rollbackFor = Exception.class)
public class OmgEmpBiz implements IOmgEmpBiz {

	@Resource
	private OmgEmpService omgEmpService;

	@Override
	public List<IcsEmpVo> getEmpsByCmsBaseOrgCode(String baseOrgCode) {
		return omgEmpService.getEmpsByCmsBaseOrgCode(baseOrgCode);
	}

	@Override
	public List<IcsEmpVo> getCccsEmpByRoleCode(String roleCode) {
		return omgEmpService.getCccsEmpByRoleCode(roleCode);
	}

	@Override
	public IcsEmpVo getEmpByCode(String empCode) {
		return omgEmpService.getEmpByCode(empCode);
	}

	@Override
	public List<IcsEmpVo> getEmpsOfNotSelfByRoleCodeAndCmsOrgBaseCode(Map icsEmpVo) {
		return omgEmpService.getEmpsOfNotSelfByRoleCodeAndCmsOrgBaseCode(icsEmpVo);
	}
	@Override
	public List<IcsEmpVo> getEmpsOrgNameOfNotSelfByRoleCodeAndCmsOrgBaseCode(Map icsEmpVo) {
		return omgEmpService.getEmpsOrgNameOfNotSelfByRoleCodeAndCmsOrgBaseCode(icsEmpVo);
	}

	@Override
	public List<IcsEmpVo> getEmpsByRoleCodeAndCmsOrgBaseCode(Map icsEmpVo) {
		return omgEmpService.getEmpsByRoleCodeAndCmsOrgBaseCode(icsEmpVo);
	}

	@Override
	public List<IcsEmpVo> findEmpByBaseOrgCode(String baseOrgCode) {
		// TODO Auto-generated method stub
		return omgEmpService.findEmpByBaseOrgCode(baseOrgCode);
	}

	@Override
	public List<IcsEmpVo> findEmpByMap(Map<String, Object> map) {
		// TODO Auto-generated method stub
		return omgEmpService.findEmpByMap(map);
	}

	@Override
	public String findOrgByEmpName(Map<String, Object> map) {
		return omgEmpService.findOrgByEmpName(map);
	}
}
